/*
 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
 *
 * This file is part of retabel.
 *
 * Copyright (c) 2011 by individual contributors as indicated by the
 * @author tags. See the copyright.txt file in the distribution
 * for a full listing of individual contributors.
 *
 * This is free software; you can redistribute it and/or modify it
 * under the terms of the GNU Lesser General Public License as
 * published by the Free Software Foundation; either version 2.1 of
 * the License, or (at your option) any later version.
 *
 * This software is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
 * Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public
 * License along with this software; if not, write to the Free
 * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
 * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
 */

package org.retabel.service.render;

import org.retabel.service.failover.Failable;

import java.io.Serializable;

/**
 * Class description.
 * <p/>
 * <h3>Extra-Info</h3>
 * Created: 22:53 21.09.11
 *
 * @author Burt Parkers
 * @version 1.0
 */
public class RenderParameter implements Serializable, Failable {

    /** The unique document Number. */
    private String uniqueDocumentNumber;

    /** The document configuration. */
    private byte[] documentConfigurationData;

    /** The xml data. */
    private byte[] xmlData;


    /**
     * Sets the uniqueDocumentNumber.
     *
     * @param newUniqueDocumentNumber The uniqueDocumentNumber value to set.
     */
    public void setUniqueDocumentNumber(String newUniqueDocumentNumber) {
        this.uniqueDocumentNumber = newUniqueDocumentNumber;
    }

    /**
     * Gets the xmlData.
     *
     * @return The xmlData value.
     */
    public byte[] getXmlData() {
        return xmlData;
    }

    /**
     * Gets the documentConfigurationData.
     *
     * @return The documentConfigurationData value.
     */
    public byte[] getDocumentConfigurationData() {
        return documentConfigurationData;
    }

    /**
     * Gets the uniqueDocumentNumber.
     *
     * @return The uniqueDocumentNumber value.
     */
    public String getUniqueDocumentNumber() {
        return uniqueDocumentNumber;
    }

    /**
     * Sets the documentConfigurationData.
     *
     * @param newDocumentConfigurationData The documentConfigurationData value to set.
     */
    public void setDocumentConfigurationData(byte[] newDocumentConfigurationData) {
        this.documentConfigurationData = newDocumentConfigurationData;
    }

    /**
     * Sets the xmlData.
     *
     * @param newXmlData The xmlData value to set.
     */
    public void setXmlData(byte[] newXmlData) {
        this.xmlData = newXmlData;
    }
}
